#ifndef _SNAKEGAMEV1_H_
#define _SNAKEGAMEV1_H_
#include "GameEngine.h"

namespace sg
{
    //贪吃蛇游戏
    class SnakeGameV1 : private GameEngine
    {
        public:
            SnakeGameV1()
            {
                std::cout << "SnakeGameV1 SnakeGameV1()" << std::endl;
            }
            ~SnakeGameV1()
            {
                std::cout << "SnakeGameV1 ~SnakeGameV1()" << std::endl;
            }
            void play() override;
    };


    //主场景
    class MainScene : public Scene
    {
        public:
            MainScene()
            {
                
            }
            ~MainScene()
            {
                
            }
            void handleEvent(SDL_Event &event) override;
            void update() override;
            void render() override;
    };
}
#endif // _SNAKEGAMEV1_H_